package com.base.invoke.okhttp.request;

import java.util.Map;

import okhttp3.Request;
import okhttp3.RequestBody;

/**
 *
 * @author coolpig
 * @date 2019-08-28
 */
public class GetReq extends OkHttpReq {
	//
	public GetReq(String url, Object tag, Map<String, String> params,
				  Map<String, String> headers, int id) {
		super(url,tag,params,headers,null,null,null,id);
	}
	
	public GetReq(String url, Object tag, Map<String, String> params,
				  Map<String, String> encodedParams,
				  Map<String, String> headers, int id) {
		super(url,tag,params,encodedParams,headers,null,null,null,id);
	}

	@Override
	protected RequestBody buildRequestBody() {
		return null;
	}

	@Override
	protected Request buildRequest(RequestBody requestBody) {
		return builder.get().build();
	}
}
